package com.qf.day04.arr;

public class Demo5 {
    public static void main(String[] args) {
        int [] arr1={1,2,3,4,5,6,7};
        int [] arr2=new int[arr1.length];
        ArrUtils.copyArr1(arr1,2,arr2,1,4);
        System.out.print("老数组:");
        ArrUtils.getArr(arr1);
        System.out.print("新数组:");
        ArrUtils.getArr(arr2);
        // System.out.println(arr1);
        // System.out.println(arr2);
    }
}
